import { BaseApi } from "@/api/base";
import http from "@/api/http";

class DictApi extends BaseApi {
  constructor(url) {
    super(url);
  }
  listAll = <T>(): Promise<T> => {
    return http.get(this.url + "/listAll");
  };
}
export default new DictApi("/system/dict-type");
